<script>
	export default {

		onLaunch: function() {
			console.log('App Launch')
			// let that = this;
			// uni.getLocation({
			// 	altitude: true,
			// 	geocode:true,
			// 	isHighAccuracy: true, // 开启地图精准定位
			// 	type: "gcj02", // 地图类型写这个
			// 	success(res) {
			// 	console.log(res);
			// 	// console.log(that.globalData.latitudeapp=2);
			// 	that.globalData.latitudeapp=res.latitude
			// 	console.log(that.globalData.latitudeapp);
			// 	that.globalData.longitudeapp=res.longitude
			// 	},
			// });

		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData: {
			latitudeapp: null,
			longitudeapp: null,
			imgurl: 'https://yuanchubao.oss-cn-beijing.aliyuncs.com/',
			apiUrl: "https://www.chuangshiyigou.cn/mall/",
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url("./common/iconfont/iconfont.css");
</style>